package a66weding.com.jiehuntong.common.utils;

/**
 * @version :
 * @creator : AxDu
 * @create-time : 2016/5/26
 * @description :
 */
public class NoDoubleClickUtil {

    private static long lastClickTime;
    public static boolean isFastDoubleClick() {
        long time = System.currentTimeMillis();
        long timeD = time - lastClickTime;
        if ( 0 < timeD && timeD < 800) {
            return true;
        }
        lastClickTime = time;
        return false;
    }
}
